package com.ztesoft.huangfu.learning.springboot.springboottransaction.service;

import com.ztesoft.huangfu.learning.springboot.springboottransaction.entity.Role;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Author: huangfu.daohui
 * Date: 2018/5/23
 * Time: 22:44
 * Version: 1.0
 * Description:
 **/
public interface RoleService {
    int deleteByPrimaryKey(String id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    List<Role> selectAllRole();
}
